<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>p3_CSS常用值</title>
    <style>
        h1{
            color: red;
            color: rgb(255, 0, 0);
            color: rgb(0,255,0);
            color: rgb(0,0,255);
            color: #ff0000;
            color: #0f0;
            color: #00f;
            color: rgba(255, 0, 0, 0.7);
            color: rgba(255, 0, 0,.5);
            color: rgba(255, 0, 0,.3);
            color: rgba(255, 0, 0,.1);
            color: rgba(255, 0, 0,0);
            color: rgba(255, 0, 0,1);
        }
        .d1{
            width: 200px;
            height:300px;
            background-image:url("img/mr.png");
            background-size:200px 300px;
            background-color:orange;
        }
        .d2{
            width:500px;
            height:300px;
            background-image:url("img/mr.png");
            background-color: green;
            border: 5px solid red;
            background-repeat: no-repeat;
            background-position:left top;
            background-position:center center;
            background-position: right bottom;
            background-position: center;
        }
        .d3{
            width: 500px;
            height: 300px;
            background-image:linear-gradient(30deg,#f00,red,blue,green,orange,yellow,pink,purple)
        }
    </style>
</head>
<body>
       <h1>测试颜色</h1>
       <div class="d1"></div>
       <div class="d2"></div>
       <div class="d3"></div>

</body>
</html>